/*
 * @Author: yuanlai
 * @Date: 2024-08-18 11:53:10
 * @LastEditors: yuanlai
 * @LastEditTime: 2024-08-18 15:00:50
 * @Description: file content
 */
module.exports = {
    // 是否使用cdn
    useCDN: true,
    // key是'包名', value是静态资源引入后全局的名称 import Vue from 'vue'
    externals: {
        'vue': 'Vue',
        'vuex': 'Vuex',
        'vue-router': 'VueRouter',
        'axios': 'axios',
        'echarts': 'echarts',
        // 必须是ELEMENT，否则会报‘elementUI is not defined’
        'element-ui': 'ELEMENT'
    },
    CDN: {
        // CDN链接地址：https://www.jsdelivr.com/
        css: [
            'https://cdn.bootcdn.net/ajax/libs/element-ui/2.15.14/theme-chalk/index.min.css'
        ],
        js: [
            'https://cdn.bootcdn.net/ajax/libs/vue/2.7.9/vue.min.js',
            'https://cdn.bootcdn.net/ajax/libs/vue-router/3.5.1/vue-router.min.js',
            'https://cdn.bootcdn.net/ajax/libs/vuex/3.6.2/vuex.min.js',
            'https://cdn.bootcdn.net/ajax/libs/axios/1.7.4/axios.min.js',
            'https://cdn.bootcdn.net/ajax/libs/element-ui/2.15.14/index.min.js',
            'https://cdn.bootcdn.net/ajax/libs/echarts/5.2.2/echarts.min.js',
        ]
    }
}